package com.itheima.list;

public class Demo02 {

    public static void main(String[] args) {
        Zhan zhan = new Zhan();
        zhan.yazhan("aaa");
        zhan.yazhan("bbb");
        zhan.yazhan("ccc");
        zhan.yazhan("ddd");
        System.out.println(zhan.tanzhan());
        System.out.println(zhan.tanzhan());
        System.out.println(zhan.tanzhan());
        System.out.println(zhan.tanzhan());


    }
}
